# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=batman-alfred
_pkgname=alfred
pkgver=2025.2
pkgrel=1
pkgdesc='Almighty Lightweight Fact Remote Exchange Daemon.'
groups=('blackarch' 'blackarch-wireless')
arch=('x86_64' 'aarch64')
url='http://www.open-mesh.org/'
license=('GPL')
depends=('gpsd' 'libnl' 'dbus')
source=("https://downloads.open-mesh.org/batman/releases/batman-adv-$pkgver/$_pkgname-$pkgver.tar.gz")
sha512sums=('00514576392a2c6a853142d382fcb424ba4e911026562205dd33c519803dc53477ae3ce755b854bb437c8a0936a4bb79259a2341ac5c01626c388d0ef9745d5e')

build() {
  cd "$_pkgname-$pkgver"

  make
}

package() {
  cd "$_pkgname-$pkgver"

  make DESTDIR="$pkgdir" PREFIX=/usr SBINDIR=/usr/bin install
}

